﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FileHelpers;

namespace TestJQGrid
{
    [DelimitedRecord(",")]
    public class Schemes
    {
        public string SchemeName;
        public string ProductName;
    }

    [DelimitedRecord(",")]
    public class ModelManu
    {
        public string Model;
        public string Manufacturer;
        public string Category;
    }

    [DelimitedRecord(",")]
    public class StateCity
    {
        public string CityCode;
        public string CityName;
        public string StateCode;
        public string Category;
    }

    [DelimitedRecord(",")]
    public class CarSalesData
    {
        public UInt64 TransId;
        public UInt64 AgentId;
        public DateTime TransDate;
        public UInt64 CarValue;
        public string CityCode;
        public decimal IntRate;
        public string Model;
        public string Scheme;
        public string Manufacturer;
        public string CarType;
        public int Tenure;
        public string Description;
        public UInt64 LoanAmount;

    }

    [DelimitedRecord(",")]
    public class AgentTaxMaster
    {
        public UInt64 AgentID;
        public string State;
        public string TaxType;
        public decimal TaxPercent;
        public DateTime FromDate;
        public DateTime ToDate;
        public string IsExclusive;
        public string CreatedBy;
        public DateTime CreatedOn;
    }

    [DelimitedRecord(",")]
    public class AdhocAdjustments
    {
        public Int64 AgentID;
        public Int64 Amount;
        public string Type;
        public string PrePost;
        public string TaxCode;
        public DateTime FromDate;
        public DateTime ToDate;
        public DateTime CreatedOn;
        public string CreatedBy;
        public string Remarks;
        public Int64 RAmount;
        public string AdjType;
    }
}
